<div>
    <startprint></startprint>
    <div class="print_container">
        <div style="color:#000;width: 150px;display: inline-block;text-align: center;">
            {{printSmallOrderInfo.shopName}}
        </div>
        <div style="font-size: 12px; margin-top: 10px;">单号:{{printSmallOrderInfo.orderId}}</div>
        <div style="font-size: 12px; ">时间:{{printSmallOrderInfo.createTime}}</div>
        <span>**************************</span>
        <div>
            <span>品名</span>
            <span>数量</span>
            <span>单价</span>
            <span>金额</span>
        </div>
        <span>**************************</span>
        <div class="section2" style="font-size: 12px; ">
            <div v-for="(item,index) in printSmallOrderInfo.orderCart">
                <span style="width: 60px;display: inline-block;">{{item.prodName}}</span>
                <span style="width: 30px;display: inline-block;text-align: center;">{{item.cartNum}}</span>
                <span style="width: 30px;display: inline-block;text-align: center;">{{item.price}}</span>
                <span style="width: 40px;display: inline-block;text-align: center;">{{item.payPrice}}</span>
            </div>
        </div>
        <span>**************************</span>
        <div class="section5" style="font-size: 12px; ">
            <div>
                <span style="width: 65px;display: inline-block;">总数量:{{printSmallOrderInfo.cartNumCount}}</span>
                <span style="width: 85px;display: inline-block;">支付金额:{{printSmallOrderInfo.orderPayPrice}}</span>
            </div>
            <div>
                <span style="width: 75px;display: inline-block;">优惠金额:{{printSmallOrderInfo.discountPayPrice}}</span>
            </div>
        </div>
        <div class="section5" style="font-size: 12px; margin-left: 5px;" v-if="printSmallOrderInfo.content">
            <div v-html="printSmallOrderInfo.content" style="white-space: pre-wrap;"></div>
            <div><img :src="printSmallOrderInfo.qrImg" width="100px" height="100px"></div>
        </div>
    </div>
    <endprint></endprint>
    <div id="print-btn">
        
        <button class="btn btn-primary float-right" type="button" v-on:click="_printPurchaseApplyDiv()">
            <i class="fa fa-check"></i>&nbsp;打印
        </button>
        <button class="btn btn-primary float-right margin-right" type="button" v-on:click="_printCloudPurchaseApplyDiv()">
            <i class="fa fa-check"></i>&nbsp;云打印
        </button>
        <button type="button" class="btn btn-warning  float-right" style="margin-right:20px;" v-on:click="_closePage()">
            <i class="fa fa-close"></i>&nbsp;取消
        </button>
    </div>
</div>